package com.oa.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Ask entity. @author MyEclipse Persistence Tools
 */

public class Ask implements java.io.Serializable {

	// Fields

	private Long askid;
	private Workstream workstream;
	private Long empno;
	private String title;
	private String acontent;
	private Date atime;
	private Integer state;
	private Set askAudits = new HashSet(0);
	private Set auditings = new HashSet(0);

	// Constructors

	/** default constructor */
	public Ask() {
	}

	/** minimal constructor */
	public Ask(Long askid) {
		this.askid = askid;
	}

	/** full constructor */
	public Ask(Long askid, Workstream workstream, Long empno, String title,
			String acontent, Date atime, Integer state, Set askAudits,
			Set auditings) {
		this.askid = askid;
		this.workstream = workstream;
		this.empno = empno;
		this.title = title;
		this.acontent = acontent;
		this.atime = atime;
		this.state = state;
		this.askAudits = askAudits;
		this.auditings = auditings;
	}

	// Property accessors

	public Long getAskid() {
		return this.askid;
	}

	public void setAskid(Long askid) {
		this.askid = askid;
	}

	public Workstream getWorkstream() {
		return this.workstream;
	}

	public void setWorkstream(Workstream workstream) {
		this.workstream = workstream;
	}

	public Long getEmpno() {
		return this.empno;
	}

	public void setEmpno(Long empno) {
		this.empno = empno;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getAcontent() {
		return this.acontent;
	}

	public void setAcontent(String acontent) {
		this.acontent = acontent;
	}

	public Date getAtime() {
		return this.atime;
	}

	public void setAtime(Date atime) {
		this.atime = atime;
	}

	public Integer getState() {
		return this.state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Set getAskAudits() {
		return this.askAudits;
	}

	public void setAskAudits(Set askAudits) {
		this.askAudits = askAudits;
	}

	public Set getAuditings() {
		return this.auditings;
	}

	public void setAuditings(Set auditings) {
		this.auditings = auditings;
	}

}